package org.example.user.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;

/**
 * 角色权限关联表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "sys_role_acl")
public class SysRoleAclEntity {

    /**
     * 角色ID
     */
    //@Id(keyType = KeyType.Auto)
    @Id
    private Long roleId;

    /**
     * 权限ID
     */
    //@Id(keyType = KeyType.Auto)
    @Id
    private Long aclId;

    /**
     * 创建时间
     */
    @Column(value = "created_time")
    private Date createdTime;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getAclId() {
        return aclId;
    }

    public void setAclId(Long aclId) {
        this.aclId = aclId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }
}
